The Task Manager is a package for creating and managing tasks-separate execution threads that run nonpreemptively in the background. Tasks should periodically call a Task Manager yielding routine to allow other tasks to run. Tasks are ideal for lengthy processes that you would like to run in the background, since the task runs in a separate execution thread from your event loop.
Michael wrote The Task Manager using THINK C 5.0.1, and Peter N Lewis converted in to Pascal using THINK Pascal 4.0.1. The documentation is unchanged from Michael's, so it reffers to C prodcedure's, but I'm sure you can figure it out.
This code is provided AS IS. It's free, and you get what you pay for. I don't guarentee any support in any way shape of form. If there is anything wrong, fix it and tell me about it. If you find any problem, report it to me if you think its a Pascal conversion problem, or to both Michael and I if its a general problem.
Send comments to either:
Michael Hecht:
Internet: Michael_Hecht@mac.sas.com
AppleLink: SAS.HECHT
OR
Peter N Lewis,
Internet: peter@ncrpda.curtin.edu.au
Bitnet: peter%ncrpda.curtin.edu.au@cunyvm.bitnet
UUCP: uunet!munnari.oz!ncrpda.curtin.edu.au!peter
A huge THANK YOU to Michael for providing the library and allowing its Pascal conversion to be distributed.